Making interactive webpages - Steg 4

Test av placering av script tag

Click me away

Click to change text


Click button to update text with more:

Old text

Click to change text

jQuery Get och Post - phpfiler

Get

Result is:

Post

Hardcoded arguments

Result is:


Arguments from input

Enter your name:

City: Skövde

Result is:

jQuery Get och Post - php och TEST1 databas

Get

Get using jQuery. Using the same php file as earlier tests to read from TEST1 database:

Result is:

Post

Hardcoded arguments

Post using jQuery and hardcoded arguments. Using the same php file as earlier tests to write to TEST1 database:

Result is:


Arguments from input

Post using jQuery and arguments from input. Using the same php file as earlier tests to write to TEST1 database:

Name: Maria

Enter your score:

Result is:

Clear the database

Clear the TEST1 database using the same php file as earlier tests

UPP...